package yxy.cherry.data.bean;

import yxy.cherry.data.bean.model.DataClass;
import yxy.cherry.data.bean.model.DataType;

@DataType
public class commandertallylevel implements DataClass {

    public int id;
    public int type;
    public int level;
    public int star;
    public int attack;
    public int defense;
    public int life;
    public int damageincrease;
    public int damagedrop;
    public int[] costtype;
    public int[] costid;
    public int[] costnum;

    public int getId() {
        return id;
    }

    public int getType() {
        return type;
    }

    public int getLevel() {
        return level;
    }

    public int getStar() {
        return star;
    }

    public int getAttack() {
        return attack;
    }

    public int getDefense() {
        return defense;
    }

    public int getLife() {
        return life;
    }

    public int getDamageincrease() {
        return damageincrease;
    }

    public int getDamagedrop() {
        return damagedrop;
    }

    public int[] getCosttype() {
        return costtype;
    }

    public int[] getCostid() {
        return costid;
    }

    public int[] getCostnum() {
        return costnum;
    }

    @Override
    public String getCode() {
        return String.format("%d_%d", type, level);
    }
}